

package com.dog.basics.service.wishwash;

import com.dog.basics.bean.dto.admin.wishwash.AdminDogHxDevNodeAddDto;
import com.dog.basics.bean.dto.admin.wishwash.AdminDogHxDevNodeEditDto;
import com.dog.basics.bean.dto.admin.wishwash.AdminDogHxDevNodeFromDto;
import com.dog.basics.bean.dto.api.wishwash.ApiDogHxDevNodeInfoDto;
import com.dog.basics.bean.vo.admin.wishwash.AdminDogHxDevNodeVo;
import com.dog.basics.bean.vo.admin.wishwash.AdminDogHxDevNodeInfoVo;
import com.dog.basics.bean.dto.api.wishwash.ApiDogHxDevNodeFromDto;
import com.dog.basics.bean.vo.api.wishwash.ApiDogHxDevNodeVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.common.util.PageParam;
import  com.dog.basics.bean.model.wishwash.DogHxDevNode;

import java.util.List;


/**
 * 设备节点信息
 *
 * @author cy code generator
 * @date 2021-07-09 17:40:26
 */
public interface DogHxDevNodeService extends IService<DogHxDevNode> {
    /**
       * @Description: 后台管理分页
       * @Param: status
       * @return: IPage
       * @author cy code generator
       * @date 2021-07-09 17:40:26
       */
    IPage<AdminDogHxDevNodeVo> getAdminPageList(PageParam page, AdminDogHxDevNodeFromDto obj);

    /**
     * @Description: 分页查询App
     * @Param: status
     * @return: IPage
     * @author cy code generator
     * @date 2021-07-09 17:40:26
     */
    IPage<ApiDogHxDevNodeVo> getApiPageList(PageParam page, ApiDogHxDevNodeFromDto obj);

    /**
     * @Description: 后台管理查询详情
     * @Param: obj
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:26
     */
    AdminDogHxDevNodeInfoVo getAdminObjXq(Long id);


    /**
     * @Description: 后台管理增加
     * @Param: obj
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:26
     */
    Boolean saveAdminObj(AdminDogHxDevNodeAddDto obj);


    /**
     * @Description: 修改
     * @Param: obj
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:26
     */
    Boolean editAdminObj(AdminDogHxDevNodeEditDto obj);


    /**
     * @Description: 删除
     * @Param: ids
     * @return: Boolean
     * @author cy code generator
     * @date 2021-07-09 17:40:26
     */
    Boolean deleteObj(Long id);


    /**
     * @功能描述: 设备有几种挂载类型
     * @author He
     * @date 2021/7/12
     */
    Integer getApiDevBdType(ApiDogHxDevNodeInfoDto dto);

    /**
     * @功能描述: 设备挂载大小类型
     * @author He
     * @date 2022/1/10
     */
    List<Integer> getApiDevBdTypeSize(ApiDogHxDevNodeInfoDto dto);
    /**
     * @功能描述:  禁用设备节点
     * @author He
     * @date 2021/8/6
     */
    Boolean editApiDevNodeDisable(Long devNodeId);
}
